import { request } from '@/common/api/http'

export function login(data) {
    return request('post', '/admin/login', data)
}

export function getGoodsList(page, limit, tab='all') {
    return request('get', `/admin/goods/${page}?limit=${limit}&tab=${tab}`)
}